package com.hotlove.tools.response;

/**
 * @Auther: hotlove_linx
 * @Date: 2022/4/16 17:27
 * @Description:
 */
public enum ResultEnum {

    SUCCESS(1000, "请求成功"),
    FAIL(2000, "请求失败"),
    PARAM_ERROR(3000, "参数错误");

    private Integer code;

    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
